Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting


Specifying the log filename

You can specify the name of the log file to which OpenEdge writes all errors and warning messages by using the following:

Table 5–4 shows how to specify the log filename.

Table 5–4: Specifying the log filename 
Method
General syntax
Example
Startup parameter
-clientlog filename 
-clientlog mylog.log 
LOG-MANAGER
system handle
LOG-MANAGER:LOGFILE-NAME 
= “filename 
LOG-MANAGER:LOGFILE-NAME = 
“mylog.log” 
Progress Explorer
or
ubroker.properties files
logFile = filename 
srvrLogFile= filename 
brkrLogFile= filename 
logFile = 
c:\workdir\mylog.log 

Note: After starting an OpenEdge session using the Client Logging (-clientlog) startup parameter, another log filename can be specified in code using the LOGFILE-NAME attribute on the LOG-MANAGER system handle. In this case, OpenEdge stops writing to the log file specified by the Client Logging (-clientlog) startup parameter and starts writing to the log file specified by the LOGFILE-NAME attribute.

For a detailed description of the Client Logging (-clientlog) startup parameter, see OpenEdge Deployment: Startup Command and Parameter Reference .

For a detailed description of the LOG-MANAGER system handle, see OpenEdge Development: Progress 4GL Reference .

For more information on ubroker.properties, see the ubroker.properties.README file in $INSTALLDIR/properties/ubroker.properties.README.

To use the Progress Explorer to view and set properties, see the "Progress Explorer and logging settings" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095